<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<title>ScrollableView-v-vh-vf</title>
		<link href="../themes/iphone/iphone.css" rel="stylesheet">
		<style>
		.lnk {
			font-size: 14px;
			color: #0B5199;
			text-decoration: none;
		}
		html,body{
			height: 100%;
			overflow: hidden;
		}
		</style>
		<script type="text/javascript" src="../../../dojo/dojo.js" djConfig="parseOnLoad: true, mblAlwaysHideAddressBar: true"></script>

		<script language="JavaScript" type="text/javascript">
			//dojo.require("dojo.parser"); // Use the lightweight parser.
			dojo.require("dojox.mobile.parser");
			dojo.require("dojox.mobile");
			dojo.require("dojox.mobile.ScrollableView");
			dojo.requireIf(!dojo.isWebKit, "dojox.mobile.compat");
			dojo.requireIf(!dojo.isWebKit, "dojo.fx");
			dojo.requireIf(!dojo.isWebKit, "dojo.fx.easing");
		</script>
	</head>
	<body>
		<div id="foo" dojoType="dojox.mobile.ScrollableView" selected="true">
			<h1 dojoType="dojox.mobile.Heading" fixed="top">View Header Bar</h1>
			<h2 dojoType="dojox.mobile.RoundRectCategory">Transition Effects</h2>

			<div dojoType="dojox.mobile.RoundRect">
				scrollDir: vertical<br>
				header: view-header<br>
				footer: view-footer<br>
			</div>

			<ul dojoType="dojox.mobile.RoundRectList">
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-1.png" moveTo="bar" transition="slide">
					Slide 1
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-2.png" moveTo="bar" transition="flip">
					Flip 2
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-3.png" moveTo="bar" transition="fade">
					Fade 3
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-4.png" moveTo="bar" transition="slide">
					Slide 4
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-5.png" moveTo="bar" transition="flip">
					Flip 5
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-6.png" moveTo="bar" transition="fade">
					Fade 6
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-7.png" moveTo="bar" transition="slide">
					Slide 7
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-8.png" moveTo="bar" transition="flip">
					Flip 8
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-9.png" moveTo="bar" transition="fade">
					Fade 9
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-1.png" moveTo="bar" transition="slide">
					Slide 10
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-2.png" moveTo="bar" transition="flip">
					Flip 11
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-3.png" moveTo="bar" transition="fade">
					Fade 12
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-4.png" moveTo="bar" transition="slide">
					Slide 13
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-5.png" moveTo="bar" transition="flip">
					Flip 14
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-6.png" moveTo="bar" transition="fade">
					Fade 15
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-7.png" moveTo="bar" transition="slide">
					Slide 16
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-8.png" moveTo="bar" transition="flip">
					Flip 17
				</li>
				<li dojoType="dojox.mobile.ListItem" icon="images/i-icon-9.png" moveTo="bar" transition="fade">
					Fade 18
				</li>
			</ul>
			<h1 dojoType="dojox.mobile.Heading" fixed="bottom" style="border-bottom:none;">View Footer Bar</h1>
		</div>

		<div id="bar" dojoType="dojox.mobile.ScrollableView">
			<h1 dojoType="dojox.mobile.Heading" fixed="top" back="Home" moveTo="foo">Search Result</h1>
			<ul dojoType="dojox.mobile.RoundRectList">
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
					1. <a href="#" class="lnk">Dojo: Traditional Karate-do Spirit</a><br>
					Sarah Connor Hardcover<br>
					Eligible for FREE Super Saver Shipping<br>
					<font color="red">$14.50 (50%)</font> In Stock<br>
					# (531)
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
					2. <a href="#" class="lnk">Japanese Martial Arts Dojo</a><br>
					Martin Parker Hardcover<br>
					<font color="red">$14.00 (60%)</font> In Stock<br>
					# (173)
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
					3. <a href="#" class="lnk">Total Solar Eclipse</a><br>
					Steven Young Hardcover<br>
					Get it by Mar. 2 if you order in the next <font color="green"><b>16 hours</b></font><br>
					Eligible for FREE Super Saver Shipping<br>
					<font color="red">$9.50 (62%)</font> In Stock<br>
					# (1199)
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
					4. <a href="#" class="lnk">The History of Java Coffee</a><br>
					Marco Rodriguez Hardcover<br>
					<font color="blue">Not Available</font>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
					5. <a href="#" class="lnk">The Principles of Spider's Web</a><br>
					Melissa Morgan Hardcover<br>
					Eligible for FREE Super Saver Shipping<br>
					<font color="red">$12.00 (60%)</font> In Stock<br>
					# (1847)
				</li>
			</ul>
			<h1 dojoType="dojox.mobile.Heading" fixed="bottom" style="border-bottom:none;">Another View Footer Bar</h1>
		</div>
	</body>
</html>
